package me.helllp.dake.iam.core;

import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;

@Configuration
@Order(Ordered.HIGHEST_PRECEDENCE)
@ComponentScan("me.helllp.dake.iam.core")
@PropertySource("classpath:dake_iam_core.properties")
@Getter
@Setter
public class DakeIamCoreConfig {
    @Value("${dake.auth.token.lifespan}")
    private Integer lifespan;

}
